{
dataOut.setSample(offset, x1);
int index2 = offset + 1;
if (index2 < length) dataOut.setSample(index2, x2);
}
offset += 2;
}
int index2 = offset + 1;
if (index2 < length)
{
dataOut.setSample(index2, x2);
x2 = dataOut.getSample(index2);
x2 = SFMaths.abs(x2);
if (x2 > max)